home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000350_fdc@columbia.edu_Sun Oct 26 16:57:36 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problems with get /recursive
  5. Followup-To: comp.protocols.kermit.misc
  6. Date: 26 Oct 2003 21:53:51 GMT
  7. Organization: Columbia University
  8. Lines: 45
  9. Message-ID: <slrnbpogje.ct6.fdc@sesame.cc.columbia.edu>
  10. References: <57f2d810.0310251901.3deaebbd@posting.google.com> <Pine.HPX.4.44.0310252035270.3239-100000@fog.ccsf.cc.ca.us> <slrnbpnmlo.b28.lars@news.oddbit.com>
  11. Reply-To: fdc@columbia.edu
  12. NNTP-Posting-Host: sesame.cc.columbia.edu
  13. X-Trace: newsmaster.cc.columbia.edu 1067205231 29709 128.59.59.56 (26 Oct 2003 21:53:51 GMT)
  14. X-Complaints-To: postmaster@columbia.edu
  15. NNTP-Posting-Date: 26 Oct 2003 21:53:51 GMT
  16. User-Agent: slrn/0.9.7.4 (SunOS)
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14603
  18.  
  19. In article <slrnbpnmlo.b28.lars@news.oddbit.com>, Lars Kellogg-Stedman wrote:
  20. : That's interesting, because the 'send' command behaves differently.  For
  21. : example, if I connect via 'kermit -C "ssh remotehost"', and then on the
  22. : remote system type:
  23. :   kermit -C 'send /recursive directory'
  24. : I get the whole thing.
  25. : On the other hand, neither:
  26. :   kermit -L -s directory
  27. : Nor:
  28. :  
  29. :   kermit -L -s directory/*
  30. : Actually work.  The second version (directory/*) will send the contents of
  31. : directory, but without recursing into subdirectories.  Of course, 'kermit
  32. : -h' says:
  33. :   -L  Recursive directory descent for files in -s option
  34. : I suspect I may just be misunderstanding what that means, since one can
  35. : work around this by running:
  36. :   kermit -L -s `find directory`
  37. : But this seems like it could easily bog down for a large directory
  38. : hierarchy.
  39. As it says in:
  40.  
  41.   http://www.columbia.edu/kermit/ckermit70.html#x4.11.1
  42.  
  43. "To descend a directory tree when sending files, use the -L command-line
  44. option to indicate that the send operation is to be recursive, and include
  45. a name or pattern to be sent.  When giving a pattern, you should enclose
  46. it in quotes to prevent the shell from expanding it."  So:
  47.  
  48.   kermit -L -s "directory/*"
  49.  
  50. should work.
  51.  
  52. - Frank
  53.